<?php
defined('IN_DESTOON') or exit('Access Denied');
include tpl('header');
show_menu($menus);
?>

<form method="post">
<div class="tt"><?php echo $menus[$menuid][0];?></div>
<table width="100%" cellpadding="2" cellspacing="1" class="tb">
<tr>
	<td width="200" align="center" bgcolor="#FFCCFF">名称</td>
    <td align="center" bgcolor="#FFCCFF">子分类</td>
    <td align="center" bgcolor="#FFCCFF"></td>
    <td align="center" bgcolor="#FFCCFF">操作</td>
</tr>
<?php
            foreach($datalist as $k=>$v){
			if($v['pid']==$id)
			{
?>
<tr>
  <td align="center"><?=$v['name']?></td>
  <td align="center">无</td>
  <td align="center"></td>
  <td align="center"><a href="?moduleid=<?php echo $moduleid;?>&file=<?php echo $file;?>&action=edit&id=<?php echo $v['id'];?>"><img src="admin/image/edit.png" width="16" height="16" title="修改" alt=""/></a>&nbsp;
</td>
</tr>
    <?php
            }
            }
 ?>
</table>
</form>
<div class="pages"><?php echo $pages;?></div>
<br/>
<script type="text/javascript">Menuon(<?php echo $menuid;?>);</script>
<?php include tpl('footer');?>